package com.alks.function.mapper;

import com.alks.entity.data.entity.CutYield;
import com.alks.entity.data.entity.OutStockDetail;
import com.alks.entity.data.entity.PcPhoto;
import com.alks.function.data.request.yield.CutYieldRequest;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.io.InputStream;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author:xxxxx
 * @create: 2023-06-16 17:58
 * @Description: 产量完成
 */
@Mapper
public interface PcYpLotHeadMapping {
    List<PcPhoto> getPhotoPath();

    InputStream getPhotoStream(@Param("style") String style,@Param("color") String color);

    void setPhotoPath(@Param("photo") PcPhoto photo,@Param("path") String path);

    List<CutYield> cutYieldList(CutYieldRequest request);

    List<Map<String, BigDecimal>> getOrderAndProdTotal(CutYieldRequest request);

    Long getTotal(CutYieldRequest request);

    List<String> getDutyDept();

    List<String> getWorker();

    List<String> getBrand();

    List<PcPhoto> getPhotoPath1(@Param("page") int page);

    List<CutYield> stitchYieldList(CutYieldRequest request);

    List<Map<String, BigDecimal>> getStitchOrderAndProdTotal(CutYieldRequest request);

    Long getStitchTotal(CutYieldRequest request);

    List<String> getTypes();

    List<OutStockDetail> getOutStockDetail(CutYieldRequest request);

    Long getOutStockTotal(CutYieldRequest request);

    Long getOutTotal(CutYieldRequest request);
}
